<link rel="stylesheet" href="lib/datepicker/css/datepicker.css"/>
<div class="panel panel-default search-panel">
    <div class="panel-body">
        <form class="form-inline">
            <div class="form-group">
                <label class="sr-only" for="query_optStartTime">开始时间</label>
                <input type="text" id="query_optStartTime" class="form-control" size="16" placeholder="开始时间" />
            </div>
            <div class="form-group">
                <label class="sr-only" for="query_optEndTime">开始时间</label>
                <input type="text" id="query_optEndTime" class="form-control" placeholder="结束时间" />
            </div>
            <button type="submit" class="btn btn-default" ng-click="query()">查找</button>
        </form>
    </div>
</div>

<table class="table table-striped table-bordered table-hover">
    <tr>
        <th>操作类型</th>
        <th>操作描述</th>
        <th>操作时间</th>
        <th>操作IP</th>
        <th ng-if="!isScheduler">操作者</th>
    </tr>
    <tr ng-repeat="operationlog in paged.list">
        <td>{{ operationlog.type }}</td>
        <td>{{ operationlog.remark}}</td>
        <td>{{ operationlog.optTime | date: 'yyyy-MM-dd HH:mm:ss'}}</td>
        <td>{{ operationlog.ip}}</td>
        <td ng-if="!isScheduler">{{ admins[operationlog.adminId].name }}</td>
    </tr>
</table>

<div ng-include="'app/common/view/paged.html'"></div>